package com.multi.thread.chapter03.demo17;

public class Run {
	
	public static void main(String[] args) throws InterruptedException {
		ThreadB b = new ThreadB();
		ThreadA a = new ThreadA(b);
		a.start();
		b.start();
		b.join(1000);
		System.out.println("main end " + System.currentTimeMillis());
	}

}
